/**
 * 
 */
package profile.aspect;

import java.util.concurrent.atomic.AtomicLong;

/**
 * @author ductrung.tran
 *
 */
public class CallContext {

	private String contextId;

	private AtomicLong step = new AtomicLong();
	
	public CallContext(String contextId) {
		this.contextId = contextId;
	}
	
	public String getId() {
		return contextId;
	}

	public long newStep() {
		return step.incrementAndGet();
	}

}
